package org.ipower.examsystem.test;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 测试类。
 * @author jeasonyoung
 **/
public class SpringHibernateTestMain {
   public  static void main(String args[]){
        ApplicationContext ctx = new ClassPathXmlApplicationContext("applicationContext.xml");
        Object obj = ctx.getBean("sessionFactory");
        
        System.out.print(obj);
   }
}
